package com.probiz.estore.order.model;

import java.math.BigDecimal;

import com.probiz.estore.common.model.system.PaymentGateway;

/**
 * 在线支付对象，封装在线支付信息
 *
 */
public class OnlinePaymentResponse {
	/**
	 * 必填 事务状态
	 */
	private Short flag;
	/**
	 * 必填 订单号
	 */
	private String orderNo;
	/**
	 * 必填 支付网关
	 */
	private PaymentGateway paymentGateway;
	/**
	 * 订单金额
	 */
	private BigDecimal amount;
	/**
	 * 付款人
	 */
	private String payer;
	/**
	 * 流水号
	 */
	private String flowNo;
	/**
	 * 错误代码
	 */
	private String errorCode;
	/**
	 * 错误信息
	 */
	private String errorMessage;

	
	
	public Short getFlag() {
		return flag;
	}
	public void setFlag(Short flag) {
		this.flag = flag;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public PaymentGateway getPaymentGateway() {
		return paymentGateway;
	}
	public void setPaymentGateway(PaymentGateway paymentGateway) {
		this.paymentGateway = paymentGateway;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	public String getPayer() {
		return payer;
	}
	public void setPayer(String payer) {
		this.payer = payer;
	}
	public String getFlowNo() {
		return flowNo;
	}
	public void setFlowNo(String flowNo) {
		this.flowNo = flowNo;
	}
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	
}
